package com.github.blanexie.nexusj.domain.account


import com.github.blanexie.nexusj.domain.peer.Size
import java.time.LocalDateTime


data class UserTorrent(
    val userTorrentId: UserTorrentId,

    var uploadBytes: Size,            //真实上传量, 只和真实上传量有关, 与其他一切无关
    var downloadBytes: Size,
    var integral: Int,
    var effectiveUploadBytes: Size,   //有效的上传量, 计算限免, 模拟兑换之后的各种上传量
    var effectiveDownloadBytes: Size, //有效的下载量, 计算限免, 模拟兑换之后的各种下载量

    val createTime: LocalDateTime,
    val lastReportTime: LocalDateTime,
) {




}

data class UserTorrentId(val userId: Int, val infoHash: String)
